package com.pyue.eam.regi.mapper;

import com.pyue.eam.admin.api.entity.regi.ClientAddrEntity;
import com.pyue.eam.admin.api.entity.regi.ClientLibEntity;
import com.pyue.eam.common.data.datascope.EamBaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ClientLibMapper extends EamBaseMapper<ClientLibEntity> {

    String getNameById(String clientId);

    void removeClientAddrByClientId(@Param("clientId") Long clientId);

    void saveBatchClientAddr(@Param("baseAddrList") List<ClientAddrEntity> baseAddrList);

    List<ClientAddrEntity> listClientBaseByClientId(@Param("clientId") Long clientId);
}
